home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / include / io.h < prev    next >
C/C++ Source or Header  |  1994-07-31  |  387b  |  24 lines

  1. #ifndef _IO_H_
  2. #define _IO_H_
  3.  
  4. #include <djgppstd.h>
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. int lock(int fd, long offset, long length);
  11. int setmode(int handle, int mode);
  12. long tell(int file);
  13. int unlock(int fd, long offset, long length);
  14.  
  15. #define sopen(path, access, shflag, mode) \
  16.     open((path), (access)|(shflag), (mode))
  17.  
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21.  
  22. #endif
  23.  
  24.